package com.dmxh.service;

import com.dmxh.dto.UserDto;
import com.dmxh.pojo.TbUser;

import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author wxy
 * @since 2024-05-20
 */
public interface UserService{

    String generateCode(String phone);

    String registerUser(UserDto userDto);

    Map<String,Object> getUserAll();

    TbUser queryUserByUsername(String username);

    TbUser getUserByName(String principal);

    Object queryUserByPhoneAndUpdate(String userPhone);
}
